package com.example.demo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考试题目关联表
 * </p>
 *
 * @author 
 * @since 2025-11-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("exam_question")
public class ExamQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关联ID
     */
    @TableId(value = "eq_id", type = IdType.AUTO)
    private Integer eqId;

    /**
     * 考试ID（关联exam表）
     */
    private Integer examId;

    /**
     * 题目ID（关联question_bank表）
     */
    private Integer questionId;

    /**
     * 该题目在本次考试中的分值
     */
    private BigDecimal score;


}
